package pl.elka.simulator.core.mobilityManager.impl.nodes;

import pl.elka.simulator.core.Node;
import pl.elka.simulator.core.Position;
import pl.elka.simulator.core.experiment.NodePath;

public class RWMNode extends Node{

	public final int velocityChangeInterval;
	public int lastVelocityChangeInterval;
	public Position currentVelocity;		
	
	public RWMNode(int velocityChangeInterval, int lastVelocityChangeInterval,Position currentVelocity, Position position) {
		super(position);
		this.velocityChangeInterval = velocityChangeInterval;
		this.lastVelocityChangeInterval = lastVelocityChangeInterval;
		this.currentVelocity = currentVelocity;
	}
	public int getVelocityChangeInterval() {
		return velocityChangeInterval;
	}
	
	public int getLastVelocityChangeInterval() {
		return lastVelocityChangeInterval;
	}
	public void setLastVelocityChangeInterval(int lastVelocityChangeInterval) {
		this.lastVelocityChangeInterval = lastVelocityChangeInterval;
	}
	public Position getCurrentVelocity() {
		return currentVelocity;
	}
	public void setCurrentVelocity(Position currentVelocity) {
		this.currentVelocity = currentVelocity;
	}
	
}
